.class public final Lcom/ninesky/browser/ed;
.super Ljava/lang/Object;


# static fields
.field public static final a:F

.field private static b:I

.field private static c:I

.field private static d:I

.field private static e:I


# direct methods
.method static constructor <clinit>()V
    .locals 2

    const/4 v1, 0x0

    invoke-static {}, Landroid/content/res/Resources;->getSystem()Landroid/content/res/Resources;

    move-result-object v0

    invoke-virtual {v0}, Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics;

    move-result-object v0

    iget v0, v0, Landroid/util/DisplayMetrics;->density:F

    sput v0, Lcom/ninesky/browser/ed;->a:F

    sput v1, Lcom/ninesky/browser/ed;->b:I

    sput v1, Lcom/ninesky/browser/ed;->c:I

    sput v1, Lcom/ninesky/browser/ed;->d:I

    sput v1, Lcom/ninesky/browser/ed;->e:I

    return-void
.end method

.method public constructor <init>()V
    .locals 0

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method

.method public static a()I
    .locals 3

    const/high16 v2, 0x3f00

    sget v0, Lcom/ninesky/browser/ed;->d:I

    if-nez v0, :cond_0

    const/high16 v0, 0x4280

    sget v1, Lcom/ninesky/browser/ed;->a:F

    mul-float/2addr v0, v1

    add-float/2addr v0, v2

    float-to-int v0, v0

    sput v0, Lcom/ninesky/browser/ed;->d:I

    const/high16 v0, 0x4234

    sget v1, Lcom/ninesky/browser/ed;->a:F

    mul-float/2addr v0, v1

    add-float/2addr v0, v2

    float-to-int v0, v0

    sput v0, Lcom/ninesky/browser/ed;->e:I

    :cond_0
    sget v0, Lcom/ninesky/browser/ed;->d:I

    return v0
.end method

.method public static b()I
    .locals 1

    sget v0, Lcom/ninesky/browser/ed;->e:I

    if-nez v0, :cond_0

    invoke-static {}, Lcom/ninesky/browser/ed;->a()I

    :cond_0
    sget v0, Lcom/ninesky/browser/ed;->e:I

    return v0
.end method
